/*******************************************************************************
 * Copyright (c) 2001, 2002 Boris Pruessmann and others. All rights reserved.
 * This program and the accompanying materials are made available under the
 * terms of the Common Public License v0.5 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors: Boris Pruessmann - Initial implementation.
 ******************************************************************************/
package net.sourceforge.perforce.ui;

/**
 * @version $Revision: 488 $
 * @author <a href="mailto:bpruessmann@users.sourceforge.net">Boris
 *         Pruessmann</a>
 */
public interface IPerforceUIConstants {
  //----------------------------------------------------------------------------
  // ------- Constants

  /** Image for Perforce Server. */
  public final String IMG_PERFORCE_SERVER = "obj16/server.gif"; //$NON-NLS-1$

  /** Image for Head Revision */
  public final String IMG_HEAD_REV = "obj16/head_rev.gif"; //$NON-NLS-1$

  /** Image for "Refresh" action. */
  public final String IMG_REFRESH = "clcl16/refresh.gif"; //$NON-NLS-1$

  /** Image for client pending chaneglist container. */
  public final String IMG_CLIENT_CHANGELISTS = "clcl16/client_cls.gif"; //$NON-NLS-1$

  /** Image for client pending chaneglist. */
  public final String IMG_CLIENT_CHANGELIST = "clcl16/client_cl.gif"; //$NON-NLS-1$

  /** Image for other pending chaneglist container. */
  public final String IMG_OTHER_CHANGELISTS = "clcl16/other_cls.gif"; //$NON-NLS-1$

  /** Image for other pending chaneglist. */
  public final String IMG_OTHER_CHANGELIST = "clcl16/other_cl.gif"; //$NON-NLS-1$

  // -------------------------------------------------------------------------
  // Constants (Wizards)

  /** Image for "New->Perforce Server" action */
  public final String IMG_NEWLOCATION = "wizards/newlocation_wiz.gif"; //$NON-NLS-1$

  // -------------------------------------------------------------------
  // Constants (Wizard Banner)

  /** Banner image of New Location Wizard */
  public final String IMG_WIZBAN_SHARE = "wizban/newconnect_wizban.gif"; //$NON-NLS-1$

  // ------------------------------------------------------------------------
  // Constants (Overlays)

  /** Overlay Image: Resource exists on remote */
  public final String OVR_HASREMOTE = "ovr/hasRemote.gif"; //$NON-NLS-1$

  /** Overlay Image: Resource does not exist on remote */
  public final String OVR_NO_REMOTE = "ovr/question.gif"; //$NON-NLS-1$

  /** Overlay Image: Resource is out of date */
  public final String OVR_OUTOFDATE = "ovr/outOfDate.gif"; //$NON-NLS-1$

  /** Overlay Image: Resource is opened for add */
  public final String OVR_OPENFORADD = "ovr/openForAdd.gif"; //$NON-NLS-1$

  /** Overlay Image: Resource is opened for edit */
  public final String OVR_OPENFOREDIT = "ovr/openForEdit.gif"; //$NON-NLS-1$

  /** Overlay Image: Resource is opened for delete */
  public final String OVR_OPENFORDELETE = "ovr/openForDelete.gif"; //$NON-NLS-1$

  /** Overlay Image: Resource is locked */
  public final String OVR_LOCKED = "ovr/locked.gif"; //$NON-NLS-1$

  /** Overlay Image: Resource is opened for edit by someone else */
  public final String OVR_OTHER_OPENFORADD = "ovr/otherOpenForAdd.gif"; //$NON-NLS-1$


  /** Overlay Image: Resource is opened for edit by someone else */
  public final String OVR_OTHER_OPENFORDELETE = "ovr/otherOpenForDelete.gif"; //$NON-NLS-1$

  /** Overlay Image: Resource is opened for edit by someone else */
  public final String OVR_OTHER_OPENFOREDIT = "ovr/otherOpenForEdit.gif"; //$NON-NLS-1$

  // ---------------------------------------------------------------------
  // Constants (Preferences)

  /** Preference Key: Dirty Flag */
  public final String PREF_DIRTY_FLAG = "pref_dirty_flag"; //$NON-NLS-1$

  /** Preference Key: Added Flag */
  public final String PREF_ADDED_FLAG = "pref_added_flag"; //$NON-NLS-1$

  /** Preference Key: File Text Format */
  public final String PREF_FILETEXTFORMAT = "pref_filetextformat"; //$NON-NLS-1$

  /** Preference Key: Folder Text Format */
  public final String PREF_FOLDERTEXTFORMAT = "pref_foldertextformat"; //$NON-NLS-1$

  /** Preference Key: Project Text Format */
  public final String PREF_PROJECTTEXTFORMAT = "pref_projexttextformat"; //$NON-NLS-1$

  /** Preference Key: Show Tasks On Add */
  public final String PREF_SHOW_TASKS_ON_ADD = "pref_showTasksOnAdd"; //$NON-NLS-1$

  /** Preference Key: Don't Prompt Automatic Open */
  public final String PREF_DONT_PROMPT_AUTOMATIC_OPEN = "pref_dontPromptAutomaticOpen"; //$NON-NLS-1$

  /** Preference Key: Warn when file is opened by other user. */
  public final String PREF_WARN_ON_OTHER_OPEN = "pref_warnOnOtherOpen"; //$NON-NLS-1$

  public final String PREF_UNSAVED_RESOURCES_BEHAVIOR = "pref_unsavedResourceBehavior";

  /**
   * Preference Key: Warn before submitting changelist that contains
   * warning/errors
   */
  public final String PREF_CHECK_CHANGELIST_FOR_WARNINGS_AND_ERROR = "pref_checkChangelist"; //$NON-NLS-1$

  public final String PREF_CHECK_FOR_NEWFILES_BEFORE_SUBMIT = "pref_newFilesPSO"; //$NON-NLS-1$

  /** Preference Key: Show full */
  public final String PREF_SHOW_FULLPATH_FOR_PROJECTS = "pref_showFullPathForProjects"; //$NON-NLS-1$

  /** Preference Key: Interval of Bacground Updates */
  public final String PREF_BACKGROUND_UPDATE_INTERVAL = "pref_backgroundUpdateInterval"; //$NON-NLS-1$

  /** Preference Key: Should Monitor Changelists. */
  public final String PREF_SHOULD_MONITOR_CHANGELISTS = "pref_shouldMonitorChangelists"; //$NON-NLS-1$

  /** Preference Key: Should Monitor Opened Files. */
  public final String PREF_SHOULD_MONITOR_OPENED_FILES = "pref_shouldMonitorOpenedFiles"; //$NON-NLS-1$

  /** Preference Key: Visually Indicate that the resource is opened for edit */
  public final String PREF_INDICATE_OPENED_FOR_EDIT = "pref_indicateOpenedForEdit"; //$NON-NLS-1$

  /** Preference Key: Visually Indicate that the resource has a remote */
  public final String PREF_INDICATE_HAS_REMOTE = "pref_indicateHasRemote"; //$NON-NLS-1$

  /** Preference Key: Visually Indicate that the resource is opened for add */
  public final String PREF_INDICATE_OPENED_FOR_ADD = "pref_indicateOpenedForAdd"; //$NON-NLS-1$

  /** Preference Key: Visually Indicate that the resource is new */
  public final String PREF_INDICATE_NEW_RESOURCE = "pref_indicateNewResource"; //$NON-NLS-1$

  /**
   * Preference Key: Visually Indicate that the resource is opened by someone
   * else
   */
  public final String PREF_INDICATE_OPENED_BY_OTHER = "pref_indicateOpenedByOther"; //$NON-NLS-1$

  //----------------------------------------------------------------------------
  // ------------- Ids

  /** ID: Plugin */
  public final String ID = "net.sourceforge.perforce.ui"; //$NON-NLS-1$

  /** ID: Auto Resolve Type - Theirs */
  public final String AUTO_RESOLVE_TYPE_THEIRS = ID + ".autoResolveTypeTheirs"; //$NON-NLS-1$

  /** ID: Auto Resolve Type - Yours */
  public final String AUTO_RESOLVE_TYPE_YOURS = ID + ".autoResolveTypeYours"; //$NON-NLS-1$

  /** ID: Auto Resolve Type - Safe Automatic */
  public final String AUTO_RESOLVE_TYPE_SAFE_AUTOMATIC = ID + ".autoResolveTypeSafeAutomatic"; //$NON-NLS-1$

  /** ID: Auto Resolve Type - Automatic */
  public final String AUTO_RESOLVE_TYPE_AUTOMATIC = ID + ".autoResolveTypeAutomatic"; //$NON-NLS-1$

  /** ID: Auto Resolve Type - Automatic Markers */
  public final String AUTO_RESOLVE_TYPE_AUTOMATIC_MARKERS = ID + ".autoResolveTypeAutomaticMarkers"; //$NON-NLS-1$

  public final String URB_SUBMIT = ID + ".unsavedResourceBehavior.Submit";

  public final String URB_PROMPT = ID + ".unsavedResourceBehavior.Prompt";
  public final String URB_AUTOSAVE = ID + ".unsavedResourceBehavior.AutoSave";


}
